package com.yyzx.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "aliyun")
@Configuration
@Data
public class AliYunConfig {
    @Value("${aliyun.endpoint}")
    private String endpoint;
    @Value("${aliyun.AccessKeyID}")
    private String AccessKeyID;
    @Value("${aliyun.AccessKeySecret}")
    private String AccessKeySecret;
    @Value("${aliyun.bucketName}")
    private String bucketName;
}
